<?php
	class Search_model extends CI_Model{
		var $table	=	"articles";
		
		function __construct(){
			parent::__construct();
		}
		
		function get(){
          	$res	=	$this->db->select('id,title,text,description')
          						 ->limit(50000)
          						 ->get($this->table)	
          						 ->result_array();
          	return $res;
          						 
        }
		
		
	}